package com.huilian.iotbox.data.dto;

import com.huilian.iotbox.data.po.User;
import lombok.Data;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author 谢洛涛
 * @date 2021/1/13 20:35
 */
@Data
@ToString(callSuper = true)
public class UserDto extends User {
    /**
     * 店铺id
     */
    private Integer merchantStoreId;
    /**
     * 用户-店铺中间表id
     */
    private Integer userStoreBalanceId;
    /**
     * 验证码
     */
    private String smsCode;

    private Integer roleId;

    private Integer userId;
    /**
     * 要扣除的金额
     */
    private BigDecimal subtractMoney;
    /**
     * 要增加的金额
     */
    private BigDecimal addMoney;
    /**
     * 1 平台收款余额
     * 2 分润余额
     **/
    private Integer moneyType;

    private Integer moneyDetailsType;

    private String newPassword;

    private Integer type;

    private String operType;
    /**
     * 1注册时获取验证码  2 其他
     */
    private Integer verifyType;

    private List<Integer> AgencyIdList;

    private String verification;

    // 注册时的key
    private String key;

    private String sessionKeyId;

    /** 解绑类型: wx 微信， mobile 手机号 **/
    private String unbindType;
    /** 微信请求登陆code **/
    private String code;

    //前端传的缓存k
    private String k;
    /**
     * 密码
     */
    private String password;

    /**
     * 区分主账号和子账号
     */
    private Integer userIdType;
    private String appId;

    private Boolean temporaryRole;

    private List<Integer> storeIdList;

    private Integer attributeId;
}
